﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/mobile_H.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<style type="text/css">
    .menu
    {
        height:40px;
        font-size:x-large;
        padding:10px;
        border-bottom:1px solid #333;
        cursor:hand;
        background-color:#fff;
    }
     .menu:hover
    {
        font-weight:bold;
        background-color:#999;   
    }

</style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
<div style="background-color:#8094AE; height:50px; margin-top:0px;  text-align:center;"><h4 style="color:White; width:50%;">
Ply Cart Inventory</h4></div>
<div class="menu" onclick="menu(1)"> COUNT</div>
<div class="menu"  onclick="menu(2)"> QUERY</div>
<div class="menu"  onclick="menu(3)"> DELETE CART</div>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ScriptsSection" runat="server">
<% if (false)
   { %>
<script src="../../Scripts/jquery-1.7.1.js" type="text/javascript"></script>
<% } %>
<script type="text/jscript">
    function menu(s) {
        if (s == 1) window.location = '<%: Url.Action("Count") %>';
        if (s == 2) window.location = '<%: Url.Action("Query_Cart") %>';
        if (s == 3) {
            var cart = prompt("Please enter cart no", "");
            if (cart != null) {
                   window.location = '<%: Url.Action("Del_Cart") %>'+'?cartno='+cart;
            }
        }
    }

</script>
</asp:Content>
